package com.share.hope.entity.page;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Schema(description = "查询条件")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PageQuery {
    @Schema(description = "当前页")
    private Integer current;
    @Schema(description = "每页的数量")
    private Integer size;
    @Schema(description = "正序排序")
    private String asc;
    @Schema(description = "逆序排序")
    private String desc;
}
